<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>商户进件</title>
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache, must-revalidate">
    <meta http-equiv="Cache" content="no-cache">

    <link rel="stylesheet" href="/sui/css/sm.min.css">
    <link rel="stylesheet" href="/sui/css/sm-extend.min.css">
    <link rel="stylesheet" href="/css/agency/enterprise/userDetail.css">
    <style>
        .sg_management li{
            height: 6rem;
        }
    </style>
</head>
<body>

<div class="page-group">
    <!-- 单个page ,第一个.page默认被展示-->
    <div class="page">
        <header class="bar bar-nav" >
            <a href="#" onclick="window.history.back(); return false;" class="external button button-link button-nav pull-left">
                <span class="icon icon-left"></span>
                返回
            </a>
        </header>
        <div class="content">
            <ul class="sg_management" style="height: 21rem">
                <li>
                    <a class="alimchinfo">
                        <img src="/image/zhifubao.png"/>
                        <span>支付宝进件</span>
                    </a>
                </li>
                <li>
                    <a class="wxmchinfo">
                        <img src="/image/weixin.png"/>
                        <span>微信进件</span>
                    </a>
                </li>
                <li>
                    <a class="small_wxmchinfo">
                        <img src="/image/shengjijinjan.png"/>
                        <span>小微升级进件</span>
                    </a>
                </li>
                <li>
                    <a class="list">
                        <img src="/image/weixinliebiao.png"/>
                        <span>微信进件列表</span>
                    </a>
                </li>
                <li>
                    <a class="upgrade">
                        <img src="/image/shengjiliebiao.png"/>
                        <span>小微升级列表</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <script type='text/javascript' src='/zepto/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='/sui/js/sm.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='/sui/js/sm-extend.min.js' charset='utf-8'></script>
    <script type="text/javascript">
        $(document).ready(function () {
            // 获取其他页面传过来的值
            function getQueryString(name) {

                var reg =new RegExp('(^|&)' + name +'=([^&]*)(&|$)','i');

                var r =window.location.search.substr(1).match(reg);

                if (r !=null) {

                    return unescape(r[2]);

                }

                return null;

            }
            // 调用方法
            var userId =getQueryString("userId");
            $(document).on('click','.alimchinfo',function () {
                window.location.href="/alimchinfo/index?mchUserId="+userId;
            });

            $(document).on('click','.wxmchinfo',function () {
                window.location.href="/wxmchinfo/index?mchUserId="+userId;
            });

            $(document).on('click','.list',function () {
                window.location.href="/mch_applyment/list?mchUserId="+userId;
            });

            $(document).on('click','.small_wxmchinfo',function () {
                window.location.href="/wXmchUpgrade/index?mchUserId="+userId;
            });

            $(document).on('click','.upgrade',function () {
                window.location.href="/wXmchUpgrade/wx_list?mchUserId="+userId;
            });
        })
    </script>
</div>

</body>
</html>

